<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<h1>类型转换与noConflict</h1>
<hr>

<div id="box">
    hello,jQuery!
</div>
<script>

    let node = document.getElementById("box");
    $(function(){

        console.log($("#box"));
        console.log(node);
        console.log($("#box").get(0)); //jQuery对象转换为dom对象
        console.log($(node)); // dom对象转换为jQuery对象
    })

</script>

</body>
</html>
